.class public Lcom/estrongs/android/pop/app/videoeditor/h;
.super Ljava/lang/Object;
.source "VideoEditorHelper.java"


# direct methods
.method public static a(Landroid/app/Activity;)V
    .locals 3
    .param p0    # Landroid/app/Activity;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 10
    invoke-static {}, Lcom/esfile/screen/recorder/picture/picker/v;->a()Lcom/esfile/screen/recorder/picture/picker/v$a;

    move-result-object v0

    const/4 v1, 0x0

    .line 11
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/picker/v$a;->a(Z)Lcom/esfile/screen/recorder/picture/picker/v$a;

    const/4 v2, 0x1

    .line 12
    invoke-virtual {v0, v2}, Lcom/esfile/screen/recorder/picture/picker/v$a;->b(I)Lcom/esfile/screen/recorder/picture/picker/v$a;

    .line 13
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/picker/v$a;->a(I)Lcom/esfile/screen/recorder/picture/picker/v$a;

    .line 14
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/picker/v$a;->b(Z)Lcom/esfile/screen/recorder/picture/picker/v$a;

    const/16 v1, 0x1028

    .line 15
    invoke-virtual {v0, p0, v1}, Lcom/esfile/screen/recorder/picture/picker/v$a;->a(Landroid/app/Activity;I)V

    return-void
.end method

.method public static a(Landroid/app/Activity;Ljava/lang/String;)V
    .locals 1
    .param p0    # Landroid/app/Activity;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    const-string v0, ""

    .line 9
    invoke-static {p0, p1, v0}, Les/ya;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Landroid/app/Activity;Ljava/util/ArrayList;)V
    .locals 0
    .param p0    # Landroid/app/Activity;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    if-eqz p1, :cond_0

    .line 16
    invoke-static {p0, p1}, Lcom/esfile/screen/recorder/videos/merge/MergeVideoAndImageActivity;->a(Landroid/content/Context;Ljava/util/ArrayList;)V

    :cond_0
    return-void
.end method

.method public static a(Landroid/content/Context;)V
    .locals 1

    .line 1
    new-instance v0, Les/c5$d;

    invoke-direct {v0}, Les/c5$d;-><init>()V

    .line 2
    invoke-virtual {v0, p0}, Les/c5$d;->a(Landroid/content/Context;)Les/c5$d;

    const/4 p0, 0x0

    .line 3
    invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p0

    invoke-virtual {v0, p0}, Les/c5$d;->a(Ljava/lang/Boolean;)Les/c5$d;

    const/4 p0, 0x1

    .line 4
    invoke-virtual {v0, p0}, Les/c5$d;->a(Z)Les/c5$d;

    new-instance p0, Lcom/estrongs/android/pop/app/videoeditor/g;

    invoke-direct {p0}, Lcom/estrongs/android/pop/app/videoeditor/g;-><init>()V

    .line 5
    invoke-virtual {v0, p0}, Les/c5$d;->a(Les/c5$e;)Les/c5$d;

    new-instance p0, Lcom/estrongs/android/pop/app/videoeditor/f;

    invoke-direct {p0}, Lcom/estrongs/android/pop/app/videoeditor/f;-><init>()V

    .line 6
    invoke-virtual {v0, p0}, Les/c5$d;->a(Les/c5$b;)Les/c5$d;

    new-instance p0, Lcom/estrongs/android/pop/app/videoeditor/e;

    invoke-direct {p0}, Lcom/estrongs/android/pop/app/videoeditor/e;-><init>()V

    .line 7
    invoke-virtual {v0, p0}, Les/c5$d;->a(Les/c5$a;)Les/c5$d;

    .line 8
    invoke-static {v0}, Les/c5;->b(Les/c5$d;)V

    return-void
.end method

.method public static a(Landroid/content/Context;IILandroid/content/Intent;)V
    .locals 2
    .param p3    # Landroid/content/Intent;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    const/4 v0, -0x1

    if-eq p2, v0, :cond_0

    return-void

    :cond_0
    const/16 p2, 0x1028

    const/4 v0, 0x0

    const-string v1, "SELECTED_MEDIAS"

    if-ne p1, p2, :cond_1

    if-eqz p3, :cond_2

    .line 17
    invoke-virtual {p3, v1}, Landroid/content/Intent;->getParcelableArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object p1

    if-eqz p1, :cond_2

    .line 18
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p2

    if-lez p2, :cond_2

    .line 19
    invoke-virtual {p1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/esfile/screen/recorder/picture/picker/data/f;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->c()Ljava/lang/String;

    move-result-object p1

    const-string p2, ""

    invoke-static {p0, p1, p2}, Les/ya;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    const/16 p2, 0x1029

    if-ne p1, p2, :cond_2

    if-eqz p3, :cond_2

    .line 20
    invoke-virtual {p3, v1}, Landroid/content/Intent;->getParcelableArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object p1

    if-eqz p1, :cond_2

    .line 21
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p2

    if-lez p2, :cond_2

    .line 22
    invoke-virtual {p1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/esfile/screen/recorder/picture/picker/data/f;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->c()Ljava/lang/String;

    move-result-object p1

    invoke-static {p0, p1}, Les/ya;->a(Landroid/content/Context;Ljava/lang/String;)V

    :cond_2
    :goto_0
    return-void
.end method

.method public static b(Landroid/app/Activity;)V
    .locals 2
    .param p0    # Landroid/app/Activity;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    new-instance v0, Lcom/esfile/screen/recorder/picture/newpicker/g;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/newpicker/g;-><init>(Landroid/content/Context;)V

    const/4 v1, 0x2

    .line 2
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/newpicker/g;->a(I)Lcom/esfile/screen/recorder/picture/newpicker/g;

    .line 3
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/newpicker/g;->b(I)Lcom/esfile/screen/recorder/picture/newpicker/g;

    const/4 v1, 0x1

    .line 4
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/newpicker/g;->a(Z)Lcom/esfile/screen/recorder/picture/newpicker/g;

    sget-object v1, Lcom/estrongs/android/pop/app/videoeditor/d;->a:Lcom/estrongs/android/pop/app/videoeditor/d;

    .line 5
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/newpicker/g;->a(Lcom/esfile/screen/recorder/picture/newpicker/h;)Lcom/esfile/screen/recorder/picture/newpicker/g;

    new-instance v1, Lcom/estrongs/android/pop/app/videoeditor/c;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/videoeditor/c;-><init>(Landroid/app/Activity;)V

    .line 6
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/newpicker/g;->a(Lcom/esfile/screen/recorder/picture/newpicker/f;)Lcom/esfile/screen/recorder/picture/newpicker/g;

    .line 7
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/picture/newpicker/g;->a()V

    return-void
.end method

.method public static c(Landroid/app/Activity;)V
    .locals 3
    .param p0    # Landroid/app/Activity;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    invoke-static {}, Lcom/esfile/screen/recorder/picture/picker/v;->a()Lcom/esfile/screen/recorder/picture/picker/v$a;

    move-result-object v0

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/picker/v$a;->a(Z)Lcom/esfile/screen/recorder/picture/picker/v$a;

    const/4 v2, 0x1

    .line 3
    invoke-virtual {v0, v2}, Lcom/esfile/screen/recorder/picture/picker/v$a;->b(I)Lcom/esfile/screen/recorder/picture/picker/v$a;

    .line 4
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/picker/v$a;->a(I)Lcom/esfile/screen/recorder/picture/picker/v$a;

    .line 5
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/picker/v$a;->b(Z)Lcom/esfile/screen/recorder/picture/picker/v$a;

    const/16 v1, 0x1029

    .line 6
    invoke-virtual {v0, p0, v1}, Lcom/esfile/screen/recorder/picture/picker/v$a;->a(Landroid/app/Activity;I)V

    return-void
.end method
